<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>mtlb_eig</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>M2SCI function</center>
    <div align="right">Last update : 30/03/2004</div>
    <p>
      <b>mtlb_eig</b> - Matlab eig emulation function</p>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>Matlab <tt>
        <b>eig</b>
      </tt> and Scilab <tt>
        <b>spec</b>
      </tt> behave differently in some particular cases:</p>
    <dl>
      <dd>
        <b></b>
        <dd>
          <li>
            <b>
              <font color="maroon"></font>
            </b>
	With one input (A) and two outputs (V,D), Matlab and Scilab returned eigen values have opposite signs.
         </li>
        </dd>
      </dd>
    </dl>
    <p>
    The function <tt>
        <b>[V,D] = mtlb_eig(A)</b>
      </tt> is used by
    <tt>
        <b>mfile2sci</b>
      </tt> to replace <tt>
        <b>&gt;[V,D] = eig(A)</b>
      </tt>.
    This function will determine the correct semantic at run time. There is no replacement possibility for it.
    </p>
    <p>Caution: <tt>
        <b>mtlb_eig</b>
      </tt> has not to be used for hand coded functions.</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b></b>V.C.</dd>
    </dl>
  </body>
</html>
